Skip to content

Update geomet to align with requirements.txt #1236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2025

Conversation

bschoening
Copy link
Contributor

also fixes some pycodestyle issues

@bschoening
Copy link
Contributor Author

@absurdfarce just a small tweak, but needed to update the Homebrew formula for Cassandra's dependencies.

@absurdfarce
Copy link
Collaborator

Thanks for the ping @bschoening. I was looking at this some last night but didn't actually get it finished.

Looking over this ticket also reminded me that we need to handle the removal of distutils in 3.12. My guess is that PYTHON-1334 (the migration to pyproject.toml) will handle that as a side-effect but if setup.py is around in some capacity after that we need to fix it. I've filed PYTHON-1421 to handle that.

@@ -383,7 +386,7 @@ def run_setup(extensions):
else:
sys.stderr.write("Bypassing Cython setup requirement\n")

dependencies = ['geomet>=0.1,<0.3']
dependencies = ['geomet>=1.1']
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ouch. This is... pretty egregious. But it's definitely the right operation; we test the driver by installing libs from requirements.txt and then running tests so that's what's known to work well. An install from setup.py definitely should match that.

@absurdfarce absurdfarce merged commit fe8e926 into datastax:master May 29, 2025
2 checks passed
@absurdfarce
Copy link
Collaborator

Thanks (once again) @bschoening! That was a nice catch on the disconnect between requirements.txt and setup.py... yuck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants